$OpenBSD: patch-CMakeLists_txt,v 1.2 2014/11/05 13:47:49 dcoppa Exp $
--- CMakeLists.txt.orig	Thu Jun 27 13:30:41 2013
+++ CMakeLists.txt	Wed Nov  5 14:45:26 2014
@@ -5,7 +5,6 @@ project(libobjc)
 enable_language(ASM)
 
 set(CMAKE_C_FLAGS_DEBUG "-g -O0 -fno-inline ${CMAKE_C_FLAGS_DEBUG}")
-set(CMAKE_C_FLAGS_RELEASE "-O3 ${CMAKE_C_FLAGS_RELEASE}")
 set(CMAKE_C_FLAGS "-std=gnu99 ${CMAKE_C_FLAGS}")
 
 set(libobjc_VERSION 4.6)
@@ -290,6 +289,11 @@ if (DEFAULT_INSTALL_TYPE)
 else ()
 	set(DEFAULT_INSTALL_TYPE "NONE")
 endif ()
+
+if (NOT CMAKE_INSTALL_LIBDIR)
+	set(CMAKE_INSTALL_LIBDIR lib)
+endif ()
+
 
 set(GNUSTEP_INSTALL_TYPE ${DEFAULT_INSTALL_TYPE} CACHE STRING
 	"GNUstep installation type.  Options are NONE, SYSTEM, NETWORK or LOCAL.")
